<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:73:"C:\AppServ\www\study\public/../application/admin\view\category\index.html";i:1504488853;s:70:"C:\AppServ\www\study\public/../application/admin\view\index\index.html";i:1504575859;}*/ ?>
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Amaze UI Admin index Examples</title>
<meta name="description" content="这是一个 index 页面">
<meta name="keywords" content="index">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="icon" type="image/png" href="/assets/i/favicon.png">
<link rel="apple-touch-icon-precomposed"
	href="/assets/i/app-icon72x72@2x.png">
<meta name="apple-mobile-web-app-title" content="Amaze UI" />
<link rel="stylesheet" href="/assets/css/amazeui.min.css" />
<link rel="stylesheet" href="/assets/css/admin.css">
<script src="/assets/js/jquery.min.js"></script>
<script src="/assets/js/app.js"></script>
<link rel="stylesheet" type="text/css" href="/assets/css/shijian.css" />
<link rel="stylesheet" type="text/css"
	href="/assets/css/bootstrap-select.min.css" />
<link rel="stylesheet" type="text/css"
	href="/assets/css/bootstrap-select.min.css" />
<script src="/assets/js/bootstrap-select.min.js"></script>
<script src="/assets/js/i18n/defaults-*.min.js"></script>
<script src="/assets/js/bootstrap.js"></script>
</head>

<!--[if lte IE 9]><p class="browsehappy">升级你的浏览器吧！ <a href="http://se.360.cn/" target="_blank">升级浏览器</a>以获得更好的体验！</p><![endif]-->
</head>

<body>

<header class="am-topbar admin-header">
    <div class="am-topbar-brand"><img src="/assets/i/logo.png"></div>

    <div class="am-collapse am-topbar-collapse" id="topbar-collapse">
        <ul class="am-nav am-nav-pills am-topbar-nav admin-header-list">

            <li class="am-dropdown tognzhi" data-am-dropdown>
                <button class="am-btn am-btn-primary am-dropdown-toggle am-btn-xs am-radius am-icon-bell-o" data-am-dropdown-toggle> 消息管理<span class="am-badge am-badge-danger am-round">6</span></button>
                <ul class="am-dropdown-content">



                    <li class="am-dropdown-header">所有消息都在这里</li>



                    <li><a href="#">未激活会员 <span class="am-badge am-badge-danger am-round">556</span></a></li>
                    <li><a href="#">未激活代理 <span class="am-badge am-badge-danger am-round">69</span></a></a></li>
                    <li><a href="#">未处理汇款</a></li>
                    <li><a href="#">未发放提现</a></li>
                    <li><a href="#">未发货订单</a></li>
                    <li><a href="#">低库存产品</a></li>
                    <li><a href="#">信息反馈</a></li>



                </ul>
            </li>

            <li class="kuanjie">

                <a href="#">会员管理</a>
                <a href="#">奖金管理</a>
                <a href="#">订单管理</a>
                <a href="#">产品管理</a>
                <a href="#">个人中心</a>
                <a href="/loginout">退出系统</a>
            </li>

            <li class="soso">

                <p>

                    <select data-am-selected="{btnWidth: 70, btnSize: 'sm', btnStyle: 'default'}">
                        <option value="b">全部</option>
                        <option value="o">产品</option>
                        <option value="o">会员</option>

                    </select>

                </p>

                <p class="ycfg"><input type="text" class="am-form-field am-input-sm" placeholder="圆角表单域" /></p>
                <p><button class="am-btn am-btn-xs am-btn-default am-xiao"><i class="am-icon-search"></i></button></p>
            </li>




            <li class="am-hide-sm-only" style="float: right;"><a href="javascript:;" id="admin-fullscreen"><span class="am-icon-arrows-alt"></span> <span class="admin-fullText">开启全屏</span></a></li>
        </ul>
    </div>
</header>

<div class="am-cf admin-main">

    <div class="nav-navicon admin-main admin-sidebar">


        <div class="sideMenu am-icon-dashboard" style="color:#aeb2b7; margin: 10px 0 0 0;"> 欢迎系统管理员：</div>
        <div class="sideMenu">
            <h3 class="am-icon-flag"><em></em> <a href="#">分类管理</a></h3>
            <ul>
                <li><a href="/admin/category/index">分类列表</a></li>
                <!--<li class="func" dataType='html' dataLink='msn.htm' iconImg='images/msn.gif'>添加分类</li>-->
                <!--<li>商品分类</li>-->
                <!--<li>用户评论</li>-->
                <!--<li>商品回收站</li>-->
                <!--<li>库存管理 </li>-->
            </ul>
            <h3 class="am-icon-cart-plus"><em></em> <a href="#"> 订单管理</a></h3>
            <ul>
                <li><a href="<?php echo url('admin/order/index'); ?>">订单列表</a></li>
                <!--<li>合并订单</li>-->
                <!--<li>订单打印</li>-->
                <!--<li>添加订单</li>-->
                <!--<li>发货单列表</li>-->
                <!--<li>换货单列表</li>-->
            </ul>
            <h3 class="am-icon-users"><em></em> <a href="#">用户管理</a></h6>
            <ul>
                <li><a href="<?php echo url('admin/user/index'); ?>">用户列表</a> </li>
                <li><a href="<?php echo url('admin/teacher/index'); ?>">教师列表</a> </li>
                <li><a href="<?php echo url('admin/transaction/index'); ?>">交易记录</a></li>
                <li><a href="<?php echo url('admin/recharge/index'); ?>">充值管理</a></li>
                <li><a href="<?php echo url('admin/withdrawls/index'); ?>">提现管理</a></li>
                <li><a href="<?php echo url('admin/feedback/index'); ?>">用户反馈</a></li>
            </ul>
            <h3 class="am-icon-users">
					<em></em> <a href="#">教室管理</a>
				</h3>
				<ul>
					<li><a href="/room/create">创建教室</a></li>
					<li><a href="/room/alumnadd">创建专辑教室</a></li>
					<li><a href="/room/node/add">创建节点教室</a></li>
					<li><a href="/room/custom">创建自定义教室</a></li>
					<li><a href="/room/my/alum">页面链接创建专辑教室</a></li>
					<li><a href="/room/my/node">页面链接创建章节教室</a></li>
					<li>同步账号</li>
				</ul>

				<h3 class="am-icon-users">
					<em></em> <a href="#">网易云用户管理</a>
				</h3>
				<ul>
					<li><a href="/register/user">已注册账号列表</a></li>
					<li><a href="/nogister/lists">未激活账户列表</a></li>
					<li>团队系谱图</li>
					<li>会员推荐图</li>
					<li>推荐列表</li>
				</ul>
				<h3 class="am-icon-users">
					<em></em> <a href="#">权限管理</a>
				</h3>
				<ul>
					<li><a href="/au/index">管理员列表</a></li>
					<li><a href="/admin/role/index">角色列表</a></li>
					<li><a href="/admin/node/index">权限列表</a></li>
				</ul>
				<h3 class="am-icon-users">
					<em></em> <a href="#">教室评价管理</a>
				</h3>
				<ul>
					<li><a href="/room/evulation">教室评价</a></li>
					<li>未激活会员</li>
					<li>团队系谱图</li>
					<li>会员推荐图</li>
					<li>推荐列表</li>
				</ul>
				<h3 class="am-icon-users">
					<em></em> <a href="#">网易云聊天室管理</a>
				</h3>
				<ul>
					<li><a href="/room/user/fetch">查询聊天室信息</a></li>
					<li><a href="/room/user/select">更新聊天室信息</a></li>
					<li><a href="/room/user/toggleCloseStat">修改聊天室开/关闭状态</a></li>
					<li><a href="/room/user/setMemberRole">设置聊天室内用户角色</a></li>
					<li><a href="/request/address">请求聊天室地址</a></li>
					<li><a href="/sendmsg">发送聊天室消息</a></li>
					<li><a href="/membersByPage">分页获取成员列表</a></li>
					<li><a href="/queryMembers">批量获取在线成员信息</a></li>
					<li><a href="/temporaryMute">设置临时禁言状态</a></li>
					<li><a href="">聊天室列中新加或更新元素</a></li>
					<li><a href="/muteRoom">将聊天室整体禁言</a></li>
					<li><a href="/updateMyRoomRole">变更聊天室内的角色信息</a></li>

				</ul>
				<h3 class="am-icon-users">
					<em></em> <a href="#">网易云消息管理</a>
				</h3>
				<ul>
					<li><a href="">从队列中取出元素</a></li>
					<li><a href="">排序列出队列中所有元素</a></li>
					<li><a href="">删除清理整个队列</a></li>
					<li><a href="">初始化队列</a></li>
					<li><a href="">单聊云端历史消息查询</a></li>
					<li><a href="">群聊云端历史消息查询</a></li>
					<li><a href="">聊天室云端历史消息查询</a></li>
					<li><a href="">用户登录登出事件记录查询</a></li>
					<li><a href="">删除音视频/白板服务器录制文件</a></li>
				</ul>
				
            <h3 class="am-icon-question-circle"><em></em> <a href="#">帮助管理</a></h3>
            <ul>
                <li><a href="<?php echo url('admin/help/index'); ?>">常见问题</a> </li>
                <!--<li><a href="<?php echo url('admin/teacher/index'); ?>">教师列表</a> </li>-->
                <!--<li><a href="<?php echo url('admin/transaction/index'); ?>">交易记录</a></li>-->
                <!--<li><a href="<?php echo url('admin/recharge/index'); ?>">充值管理</a></li>-->
                <!--<li><a href="<?php echo url('admin/withdrawls/index'); ?>">提现管理</a></li>-->
                <!--<li><a href="<?php echo url('admin/feedback/index'); ?>">用户反馈</a></li>-->

            </ul>
            <h3 class="am-icon-volume-up"><em></em> <a href="#">信息通知</a></h3>
            <ul>
                <li>站内消息 /留言 </li>
                <li>短信</li>
                <li>邮件</li>
                <li>微信</li>
                <li>客服</li>
            </ul>
            <h3 class="am-icon-gears"><em></em> <a href="#">系统设置</a></h3>
            <ul>
                <li>数据备份</li>
                <li>邮件/短信管理</li>
                <li>上传/下载</li>
                <li>权限</li>
                <li>网站设置</li>
                <li>第三方支付</li>
                <li>提现 /转账 出入账汇率</li>
                <li>平台设置</li>
                <li>声音文件</li>
            </ul>
        </div>
        <!-- sideMenu End -->

        <script type="text/javascript">
            jQuery(".sideMenu").slide({
                titCell:"h3", //鼠标触发对象
                targetCell:"ul", //与titCell一一对应，第n个titCell控制第n个targetCell的显示隐藏
                effect:"slideDown", //targetCell下拉效果
                delayTime:300 , //效果时间
                triggerTime:150, //鼠标延迟触发时间（默认150）
                defaultPlay:true,//默认是否执行效果（默认true）
                returnDefault:true //鼠标从.sideMen移走后返回默认状态（默认false）
            });
        </script>


    </div>
    
    


<div class=" admin-content">

        <div class="daohang">
            <ul>
                <li><button type="button" class="am-btn am-btn-default am-radius am-btn-xs"> 首页 </li>
                <li><button type="button" class="am-btn am-btn-default am-radius am-btn-xs">帮助中心<a href="javascript: void(0)" class="am-close am-close-spin" data-am-modal-close="">×</a></button></li>
                <li><button type="button" class="am-btn am-btn-default am-radius am-btn-xs">奖金管理<a href="javascript: void(0)" class="am-close am-close-spin" data-am-modal-close="">×</a></button></li>
                <li><button type="button" class="am-btn am-btn-default am-radius am-btn-xs">产品管理<a href="javascript: void(0)" class="am-close am-close-spin" data-am-modal-close="">×</a></button></li>


            </ul>




        </div>




        <div class="admin-biaogelist" style="">

            <div class="listbiaoti am-cf">

                <ul class="am-icon-flag on"> 分类管理</ul>
                <?php switch($type): case "0": ?>
                <dl class="am-icon-home" style="float: right;"> 当前位置： 首页 > <b >科目分类</b></dl>
                <?php break; case "1": ?>
                <dl class="am-icon-home" style="float: right;"> 当前位置： 首页 > <a href="<?php echo url('admin/category/index', ['id' => $russ['parent_id'],'type' => $type-1]); ?>">科目分类</a>  > <b>地区分类</b></dl>
                <?php break; case "2": ?>
                <dl class="am-icon-home" style="float: right;"> 当前位置： 首页 > 科目分类  > <a href="<?php echo url('admin/category/index', ['id' => $russ['parent_id'],'type' => $type-1]); ?>">地区分类</a> > <b>章分类</b></dl>
                <?php break; case "3": ?>
                <dl class="am-icon-home" style="float: right;"> 当前位置： 首页 > 科目分类  > 地区分类 ><a href="<?php echo url('admin/category/index', ['id' =>$russ['parent_id'],'type' => $type-1]); ?>">章分类</a>  > <b >节分类</b></dl>
                <?php break; ?>
                <default />
                <dl class="am-icon-home" style="float: right;"> 当前位置： 首页 > <b >科目分类</b></dl>
                <?php endswitch; ?>


                <dl>
                    <a  href="<?php echo url('admin/category/category_add_a', ['id' => $pid,'type' => $type]); ?>" type="button" class="am-btn am-btn-danger am-round am-btn-xs am-icon-plus" > 添加</a>


                </dl>


            </div>




            <form class="am-form am-g" >
                <table width="100%" class="am-table am-table-bordered am-table-radius am-table-striped">
                    <thead>
                    <tr class="am-success">
                        <!--<th class="table-check"><input type="checkbox" /></th>-->
                        <!--<th class="table-id">排序</th>-->
                        <th class="table-id">ID</th>
                        <th class="table-title">标题</th>
                        <th class="table-type">类别</th>
                        <!--<th class="table-author am-hide-sm-only">上架/下架 <i class="am-icon-check am-text-warning"></i> <i class="am-icon-close am-text-primary"></i></th>-->
                        <th class="table-date am-hide-sm-only">修改日期</th>
                        <th width="163px" class="table-set">操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <?php if(is_array($rus) || $rus instanceof \think\Collection || $rus instanceof \think\Paginator): $i = 0; $__LIST__ = $rus;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                    <tr>
                        <!--<td><input type="checkbox" /></td>-->
                        <!--<td><input type="text" class="am-form-field am-radius am-input-sm"/></td>-->
                        <td><?php echo $vo['node_id']; ?></td>
                        <td><a href="#"><?php echo $vo['type_name']; ?></a></td>
                        <td>
                            <?php switch($vo['type']): case "1": ?>
                            科目
                            <?php break; case "2": ?>
                            地区
                            <?php break; case "3": ?>
                            章
                            <?php break; case "4": ?>
                            节
                            <?php break; endswitch; ?>
                        </td>
                        <!--<td class="am-hide-sm-only"><i class="am-icon-check am-text-warning"></i></td>-->
                        <td class="am-hide-sm-only"><?php echo $vo['time']; ?></td>
                        <td><div class="am-btn-toolbar">
                            <div class="am-btn-group am-btn-group-xs">
                                <?php if($vo['type'] == 4): else: ?> <a href="<?php echo url('admin/category/index', ['id' => $vo['node_id'],'type'=>$vo['type']]); ?>" class="am-btn am-btn-default am-btn-xs am-text-success am-round"><span class="am-icon-search"></span> </a>
                                <?php endif; ?>

                                <a href="<?php echo url('admin/category/category_edit_a', ['id' => $vo['node_id']]); ?>" class="am-btn am-btn-default am-btn-xs am-text-secondary am-round"><span class="am-icon-pencil-square-o"></span></a>
                                <!--<button class="am-btn am-btn-default am-btn-xs am-text-warning  am-round"><span class="am-icon-copy"></span></button>-->
                                <a data-toggle="modal"  class="am-btn am-btn-default am-btn-xs am-text-danger am-round" data-target="#myModal<?php echo $i; ?>"><span class="am-icon-trash-o"></span></a>
                                <!--<a  href="<?php echo url('admin/category/category_del_a', ['id' => $vo['node_id']]); ?>" class="am-btn am-btn-default am-btn-xs am-text-danger am-round"><span class="am-icon-trash-o"></span></a>-->
                            </div>
                        </div></td>
                    </tr>
                            <!-- Modal -->
                            <div class="modal fade" id="myModal<?php echo $i; ?>" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" >
                                <div class="modal-dialog" role="document" style="margin-top:80px">
                                    <div class="modal-content">
                                        <div class="modal-header">
                                            <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                                            <h4 class="modal-title" id="myModalLabel">消息提醒</h4>
                                        </div>
                                        <div class="modal-body">
                                            你确定要删除?
                                        </div>
                                        <div class="modal-footer">
                                            <button type="button" class="btn btn-default"><a href="<?php echo url('admin/category/category_del_a', ['id' => $vo['node_id']]); ?>">确定</a></button>
                                            <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                                        </div>
                                    </div>
                                </div>
                            </div>

                    <?php endforeach; endif; else: echo "" ;endif; ?>
                    </tbody>
                </table>

            </form>

            </div>
    <style>
        .modal-content{z-index:3000;}
        .modal-backdrop{z-index:-100;}
    </style>
            
            
            <!--<div class="foods">-->
                <!--<ul>版权所有@2015 .模板收集自 <a href="http://www.cssmoban.com/" target="_blank" title="模板之家">模板之家</a> -  More Templates<a href="http://www.cssmoban.com/" title="网页模板" target="_blank">网页模板</a></ul>-->
                <!--<dl><a href="" title="返回头部" class="am-icon-btn am-icon-arrow-up"></a></dl>-->



            <!--</div>-->







        </div>

    </div>




</div>

<!--[if lt IE 9]>
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="/assets/js/polyfill/rem.min.js"></script>
<script src="/assets/js/polyfill/respond.min.js"></script>
<script src="/assets/js/amazeui.legacy.js"></script>
<![endif]-->

<!--[if (gte IE 9)|!(IE)]><!-->
<script src="/assets/js/amazeui.min.js"></script>
<!--<![endif]-->



</body>
</html>